package com.gopay.checkorder.manager.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gopay.checkorder.dao.AccountRoleDefDAO;
import com.gopay.checkorder.manager.AccountRoleDefManager;

/**
 * 会计分录Manager实现 
 * 
 * @AccountRoleDefManagerImpl.java
 * @author yaobo
 * @2013-7-9 上午11:26:48 www.gopay.com.cn Inc.All rights reserved.
 */
@Service("accountRoleDefManager")
public class AccountRoleDefManagerImpl implements AccountRoleDefManager {

    @Resource(name = "accountRoleDefDAO")
    private AccountRoleDefDAO accountRoleDefDao;

    @Override
    public int getAccountRoleDefCount(String gopayIntTxnCd, String payChannel, String orderFeePayer, String accountPoint) {
        return accountRoleDefDao.getAccountRoleDefCount(gopayIntTxnCd, payChannel, orderFeePayer, accountPoint);
    }
}
